const {src,dest,gulp,watch} = require("gulp");
const sass = require('gulp-sass')(require('sass'));
// const concat = require("gulp-concat");
// const uglify = require("gulp-uglify");
// const rename = require("gulp-rename");
// const babel = require("gulp-babel");
// const connect = require("gulp-connect");
// const { createProxyMiddleware } = require("http-proxy-middleware");
function sassFn(){
    return src('./src/sass/detalis.scss')
    .pipe(sass().on('error', sass.logError))
    .pipe(dest('./dist/css'));
}
function watchSassFn(cb){
    watch(["./src/sass/detalis.scss"],sassFn)
    cb();
}
exports.wfn = watchSassFn;